package net.csdn.business.common.oauth2.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *  @author: zhangyalei
 *  @Date: 2021/11/9 20:34
 *  @Description: 自定义线程池配置属性类
 */
@Data
@ConfigurationProperties(prefix = "app")
public class AppConfig {

    private Boolean enable=false;

    private Integer corePoolSize;

    private Integer maxPoolSize;

    private Integer keepAliveSeconds;

    private Integer queueCapacity;

}
